package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Booking;

import java.util.List;

public interface BookingMapper {
    List<Booking> getBooking();

    int addBooking(Booking booking);

    Booking queryId(int id);

    int deleteBooking(int id);

    int updateBooking(Booking booking);

    List<Booking> page(@Param("pageNo")int pageNo,@Param("pageSize")int pageSize);

    int count();
}
